home *** CD-ROM | disk | FTP | other *** search
/ Champak 108 / jogo-disk-108.iso / Games / block_buster.swf / scripts / DefineSprite_103_Game Controls / frame_1 / DoAction.as
Text File  |  2010-05-15  |  348b  |  29 lines

  1. function Init()
  2. {
  3.    if(this.enabled == undefined)
  4.    {
  5.       this.enabled = true;
  6.    }
  7. }
  8. function OnPause()
  9. {
  10.    if(this.enabled)
  11.    {
  12.       _root.OnPause();
  13.    }
  14. }
  15. function OnNewGame()
  16. {
  17.    if(this.enabled)
  18.    {
  19.       _root.OnNewGame();
  20.    }
  21. }
  22. function OnHelp()
  23. {
  24.    if(this.enabled)
  25.    {
  26.       _root.OnHelp();
  27.    }
  28. }
  29.